package com.liangtian.mdm.activiti.api.entity;

public enum RunState {

    NOFLOW("0", "没有流程,直接完成"),
    RUNNING("1", "流程运行中"),
    PASSED("2", "流程完成已通过"),
    REFUSED("3", "流程完成已拒绝"),

    ERROR("9", "流程运行错误");

    private String code;
    private String msg;

    private RunState(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
